@space: 24px;

.modalDefault() {
  :global {
    .ant-modal-content {
      background-color: var(--bg-main);
      .ant-modal-header {
        padding-top: 18px;
        padding-bottom: 0;
        background-color: var(--bg-main);
        border-bottom: 0;
      }

      .ant-modal-body {
        padding: @space;
      }

      .ant-modal-footer {
        padding: @space;
        padding-top: 0;
        border-top: 0;
      }

      .ant-btn + .ant-btn:not(.ant-dropdown-trigger) {
        margin-left: 16px;
      }

      .ant-btn {
        border-radius: 5px;
      }

      .ant-btn-primary {
        background: #18a0fb;
        border-color: #18a0fb;
      }
    }
  }
}

.modal {
  .modalDefault();
  .content {
    display: flex;
    .checkBox {
      width: 100%;
      height: 100%;
      padding: 5px;
      // padding: 6px 0 3px 12px;
      // overflow: auto;
      .noIemGroup,
      .itemGroup {
        display: flex;
        flex-wrap: wrap;
        align-content: flex-start;
        width: 100%;
        margin-top: 4px;
        :global {
          .ant-checkbox-group-item {
            display: flex !important;
            line-height: 28px !important;
          }
        }
      }
      .itemGroup {
        margin: 4px 0 20px 0;
      }
    }
  }

  .titleDiv {
    display: flex;
    align-items: center;
    span {
      margin-left: 8px;
      font-weight: 500;
      font-size: 16px;
      font-family: PingFang SC;
      letter-spacing: 0%;
    }
    .icon {
      color: #ff5959;
      cursor: pointer;
    }
  }
}

.sequenceSelect {
  :global {
    .ant-select-selector {
      .ant-select-selection-search {
        margin-top: 0 !important;
      }
    }
  }
}
